package org.hy.domain.ug;

import org.apache.commons.lang.builder.ToStringBuilder;

/**
 * 评论的基类,此类为抽象类.
 * 
 * @author xwm
 * 
 */

public abstract class PostComment extends Post {



	private Integer refFeedId;/* 被评论信息的id */

	private Post refFeed;

	public Integer getRefFeedId() {

		return refFeedId;
	}

	public void setRefFeedId(Integer refFeedId) {
		this.refFeedId = refFeedId;
	}


	public Post getRefFeed() {
		return refFeed;
	}

	public void setRefFeed(Post refFeed) {
		this.refFeed = refFeed;
	}

	@Override
	public void buildToString(ToStringBuilder builder) {
		super.buildToString(builder);
		builder.append("refFeedId", refFeedId);
	}


}
